go/types.TypeParam.index (field)

9 uses

	go/types (current package)
		builtins.go#L1005: 		ptyp.index = tp.index
		infer.go#L507: 		tparams2[i].index = tparam.index // == i
		typelists.go#L66: 		if typ.index >= 0 {
		typelists.go#L69: 		typ.index = i
		typeparam.go#L29: 	index int       // type parameter index in source order, starting at 0
		typeparam.go#L51: 	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
		typeparam.go#L71: 	return t.index